<?php


namespace app\controller;


use think\facade\Db;

class Database
{

    public function index()
    {
        $res = Db::table("tp_student")->select();
        echo "<pre>";
        print_r($res);
        echo "</pre>";
        die;
    }

}